package com.ruoyi.business;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class Main implements CommandLineRunner {
    @Override
    public void run(String... args) throws Exception {
        System.out.println("应用启动后执行 CommandLineRunner 方法");
    }

    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}